package yxy.game.pm2.bean.db.dao;

import yxy.apple.database.BaseDAO;
import yxy.apple.database.DAOManager;
import yxy.game.pm2.bean.db.module.block;

public class MySQLBlockDAO extends BaseDAO<block> {

	public static block get(int accountId) {
		String sql = String.format("from block as ts where ts.aid = %d", accountId);
		return queryOne(DAOManager.getGameH(), sql, null);
	}

}
